#ifndef TREE_H_
#define TREE_H_

#include "../Lexico/Arquivo.h"
#include "noTree.h"
#include <string>

class Tree {
public:

	Tree();

	noTree* setRoot(string);
	void iniciarRoot(string);
	noTree* addLeaf(noTree*, string);
	noTree* addLeaf(noTree*, noTree*);
	noTree* getRoot();
	void showTree(char*,bool);
	bool loadPoolQueue();
	void addPoolQueue(noTree*);

	virtual ~Tree();

private:
	void setFiles(char*);
	noTree* root;
	list<noTree *> poolPrint;
	Arquivo fileOut;

};

#endif /*TREE_H_*/
